import { ref } from "vue";
import { defineStore } from "pinia";

export const useUsersStore = defineStore(
  "users",
  () => {
    const piniaUsername = ref("");
    piniaUsername.value = localStorage.getItem("username");
    return { piniaUsername };
  },
  { persist: true }
);
